package com.haoan.index.config;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

@Component
@Slf4j
public class RedisNotifyListener {


    public void handleMessage(String key) {
        System.out.println("redis key expire: " + key);
    }

}
